import request from "@/utils/request";


//查询药品列表
export function listMedicine(query) {
    return request({
        url: '/medicine/medicine/list',
        method: 'get',
        params: query
    })
}
// 查询药品详细
export function getMedicine(id) {
    return request({
        url: '/medicine/medicine/' + id,
        method: 'get'
    })
}

export function findMedicineByCondition(data) {
    return request({
        url: '/medicine/medicine/findMedicineByCondition',
        method: 'post',
        data: data
    })
}

export function findMedicine() {
    return request({
        url: '/medicine/medicine/remote/medicine',
        method: 'get'
    })
}
